package com.topisv.tms.entity.stock.check;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.topisv.tms.entity.AreaGroup;
import com.topisv.tms.entity.Customers;
import com.topisv.tms.entity.IdEntity;
import com.topisv.tms.entity.User;

/**
 * 盘点校对计划
 * @author ch
 *
 */
@Entity
@Table(name="check_fix_task")
public class CheckFixTask extends IdEntity implements Serializable
{
    private static final long serialVersionUID = 1L;
    private String customerCode;
    private String warehouseCode;
    private String planCode;
    private String taskCode;
    private String workerUuid;
    private Date createTime;
    private String status;
	public String getCustomerCode() {
		return customerCode;
	}
	public void setCustomerCode(String customerCode) {
		this.customerCode = customerCode;
	}
	public String getWarehouseCode() {
		return warehouseCode;
	}
	public void setWarehouseCode(String warehouseCode) {
		this.warehouseCode = warehouseCode;
	}
	public String getPlanCode() {
		return planCode;
	}
	public void setPlanCode(String planCode) {
		this.planCode = planCode;
	}
	public String getTaskCode() {
		return taskCode;
	}
	public void setTaskCode(String taskCode) {
		this.taskCode = taskCode;
	}
	public String getWorkerUuid() {
		return workerUuid;
	}
	public void setWorkerUuid(String workerUuid) {
		this.workerUuid = workerUuid;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	
	//dto属性
	private Customers customer;
	private AreaGroup warehouse;
	private User worker;
	private CheckPlan plan;
	
	@Transient
	public Customers getCustomer() {
		return customer;
	}
	public void setCustomer(Customers customer) {
		this.customer = customer;
	}
	
	@Transient
	public AreaGroup getWarehouse() {
		return warehouse;
	}
	public void setWarehouse(AreaGroup warehouse) {
		this.warehouse = warehouse;
	}
	
	@Transient
	public User getWorker() {
		return worker;
	}
	public void setWorker(User worker) {
		this.worker = worker;
	}
	
	@Transient
	public CheckPlan getPlan() {
		return plan;
	}
	public void setPlan(CheckPlan plan) {
		this.plan = plan;
	}
  
}